package com.goods.business.service;

import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

/**
 * @Author jiaoyanlin
 * @Date 2021/11/8 19:53
 * @Description ConsummerService
 */
public interface ConsummerService {
    PageVO<ConsumerVO> findConsumerList(Integer pageNum, Integer pageSize, Map<String,Object> map);

    Boolean add(ConsumerVO consumerVO);

    ConsumerVO edit(Long id);

    Boolean update(ConsumerVO consumerVO,Long id);

    void delete(Long id);

    PageVO<ConsumerVO> findAll();


    List<ConsumerVO> findAlls();

}
